package com.iafme.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author summer
 * @since 2025/01/05 21:14:46
 */
@Getter
@Setter
@TableName("iafme_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单编号
     */
    @TableField("orderNo")
    private String orderNo;

    @TableField("examTime")
    private LocalDate examTime;

    @TableField("payTime")
    private LocalDateTime payTime;

    @TableField("details")
    private String details;

    @TableField("cost")
    private BigDecimal cost;

    /**
     * 0 未支付 1已支付 2已取消
     */
    @TableField("status")
    private Integer status;

    /**
     * 会员主键
     */
    @TableField("memberId")
    private Integer memberId;

    @TableField("project_id")
    private Integer projectId;

    @TableField("level_id")
    private Integer levelId;

    @TableField("session_id")
    private Integer sessionId;

    @TableField("payType")
    private Integer payType;
    /**
     * 准考证号
     */
    @TableField("admissionNum")
    private String admissionNum;

    @TableField("examId")
    private Integer examId;

    private String seatNum;

}
